/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.structural.Adapter;

import java.util.Date;

/**
 *
 * @author jmg
 */
public class Main {
    
    public static void main(String[] args) {
        
        Auto auto = new Auto("ford","focus",new Date());
        
        System.out.println(auto.getMarca());
        System.out.println(auto.getModelo());
        System.out.println(auto.getFechaFabricacion());
        
        System.out.println("-------adaptado--------");
        AutoAdapter adapter = new AutoAdapter(auto);
        
        System.out.println(adapter.getInfoAuto());
        
        
        
        
        
    }
    
    
}
